package com.cssw.fyzb.core.dao.pay;

import com.cssw.fyzb.core.model.dodb.UserPay;
import com.cssw.fyzb.core.model.dodb.UserPayH;

import java.math.BigDecimal;

/**
 * @Author: chenchao
 * @Date: 2020/8/31 14:20
 */
public interface UserPayDao {

    void updateUserPay(Long userId, String tradeNo, String payType);

    UserPay getUserPay(String tradeNo);

    UserPayH getUserPayH(String tradeNo);

    void paySuccess(UserPay userPay);

    void savePayLog(Long userId, String payId, int payType, BigDecimal payFee);

}
